Skip to content

Conversation

@perrotta
Copy link
Contributor

@perrotta perrotta commented May 19, 2021

PR description:

The header file Geometry/CaloEventSetup/interface/CaloTopologyRecord.h was since ages simply pointing to the correct Geometry/Records/interface/CaloTopologyRecord.h, as it reads

#ifndef Geometry_CaloEventSetyp_CaloTopologyRecord
#define Geometry_CaloEventSetyp_CaloTopologyRecord

//moved so just forward the new one under the old name

#include "Geometry/Records/interface/CaloTopologyRecord.h"

#endif

This PR replaces all remaining occurrencies of "Geometry/CaloEventSetup/interface/CaloTopologyRecord.h" with "Geometry/Records/interface/CaloTopologyRecord.h" in CMSSW, and remove the obsolete header.

As such it is purely technical, and does nothing but simplifying the dependencies and cleaning the release from obsolete material: if @cms-sw/geometry-l2 agrees with the move, I think this can be safely merged.

PS: I hoped I could have avoided applyng the code-format to the code RecoJets/JetAnalyzers/test/myJetAna.cc in the test area, but unfortunately it was not the case... With the second commit of this PR we add thousands of useless code format related updates to that test code. At least, they do not look harmful.

PR validation:

It builds, and the short matrix runs

@cmsbuild cmsbuild added this to the CMSSW_12_0_X milestone May 19, 2021
@perrotta perrotta changed the title Include the updated header file instead of the obsolete one Include the updated header from Geometry/Records instead of the obsolete one May 19, 2021
@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33784/22751

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33784/22752

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @perrotta for master.

It involves the following packages:

Calibration/EcalAlCaRecoProducers
Calibration/EcalCalibAlgos
Calibration/HcalAlCaRecoProducers
Calibration/HcalCalibAlgos
Calibration/IsolatedParticles
Calibration/Tools
Configuration/Skimming
DPGAnalysis/Skims
DQMOffline/CalibCalo
DQMOffline/EGamma
DQMOffline/Ecal
DQMOffline/Trigger
EgammaAnalysis/ElectronTools
FastSimulation/CaloGeometryTools
FastSimulation/CaloHitMakers
FastSimulation/EventProducer
FastSimulation/SimplifiedGeometryPropagator
Geometry/CaloEventSetup
HLTrigger/Egamma
HLTrigger/special
PhysicsTools/PatAlgos
RecoCaloTools/Navigation
RecoEcal/EgammaClusterAlgos
RecoEcal/EgammaClusterProducers
RecoEcal/EgammaCoreTools
RecoEgamma/EgammaHLTProducers
RecoEgamma/EgammaPhotonAlgos
RecoEgamma/EgammaPhotonProducers
RecoEgamma/EgammaTools
RecoEgamma/ElectronIdentification
RecoEgamma/Examples
RecoEgamma/PhotonIdentification
RecoHI/HiEgammaAlgos
RecoJets/JetAnalyzers
RecoLocalCalo/EcalRecProducers
RecoMET/METFilters
RecoMuon/MuonIdentification
Validation/EcalClusters
Validation/RecoEgamma

@andrius-k, @lveldere, @chayanit, @wajidalikhan, @sbein, @ianna, @Martin-Grunewald, @tlampen, @pohsun, @santocch, @perrotta, @civanch, @yuanchao, @makortel, @ErnestaP, @ahmad3213, @cmsbuild, @fwyzard, @Dr15Jones, @cvuosalo, @mdhildreth, @jfernan2, @slava77, @jpata, @francescobrivio, @malbouis, @ssekmen, @jordan-martins, @kmaeshima, @rvenditti can you please review it and eventually sign? Thanks.
@emilbols, @gouskos, @jainshilpi, @hatakeyamak, @rappoccio, @apsallid, @argiro, @Martin-Grunewald, @Fedespring, @thomreis, @mbluj, @missirol, @lgray, @abbiendi, @varuns23, @seemasharmafnal, @mmarionncern, @JyothsnaKomaragiri, @ahinzmann, @jhgoh, @dgulhan, @jdolen, @sobhatta, @cericeci, @simonepigazzini, @ferencek, @trocino, @yetkinyilmaz, @sscruz, @Sam-Harper, @afiqaize, @rovere, @jdamgov, @bellan, @nhanvtran, @gkasieczka, @tocheng, @schoef, @mmusich, @mtosi, @fabiocos, @clelange, @HuguesBrun, @rchatter, @mandrenguyen, @swozniewski, @jazzitup, @calderona, @yenjie, @lecriste, @kurtejung, @gpetruc, @matt-komm, @mariadalfonso, @rociovilar, @andrzejnovak, @ram1123 this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@perrotta
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4a008b/15189/summary.html
COMMIT: 41a3eda
CMSSW: CMSSW_12_0_X_2021-05-18-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/33784/15189/install.sh to create a dev area with all the needed externals and cmssw changes.

CMS Clang-Tidy warnings: There are Clang-Tidy warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4a008b/15189/llvm-analysis/cmsclangtidy.txt for details.

Build

I found compilation error when building:

>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-18-2300/src/CaloOnlineTools/EcalTools/plugins/EcalFEDErrorFilter.cc
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-18-2300/src/CaloOnlineTools/EcalTools/plugins/EcalFEDWithCRCErrorProducer.cc
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-18-2300/src/CaloOnlineTools/EcalTools/plugins/EcalHexDisplay.cc
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-18-2300/src/CaloOnlineTools/EcalTools/plugins/EcalMipGraphs.cc
In file included from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-18-2300/src/CaloOnlineTools/EcalTools/plugins/EcalCosmicsHists.cc:17:
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-18-2300/poison/Geometry/CaloEventSetup/interface/CaloTopologyRecord.h:1:2: error: #error THIS FILE HAS BEEN REMOVED FROM THE PACKAGE.
    1 | #error THIS FILE HAS BEEN REMOVED FROM THE PACKAGE.
      |  ^~~~~
In file included from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-18-2300/src/CaloOnlineTools/EcalTools/plugins/EcalDisplaysByEvent.h:46,
                 from /build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-18-2300/src/CaloOnlineTools/EcalTools/plugins/EcalDisplaysByEvent.cc:19:
/build/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-18-2300/poison/Geometry/CaloEventSetup/interface/CaloTopologyRecord.h:1:2: error: #error THIS FILE HAS BEEN REMOVED FROM THE PACKAGE.


@chayanit
Copy link

+1

@cvuosalo
Copy link
Contributor

+1

@perrotta
Copy link
Contributor Author

+1

  • Technical
  • Jenkins tests pass

@perrotta
Copy link
Contributor Author

@cms-sw/alca-l2 @cms-sw/analysis-l2 @cms-sw/fastsim-l2 : could you please have a look and sign, if you agree with it?

@civanch
Copy link
Contributor

civanch commented May 24, 2021

+1

@yuanchao
Copy link
Contributor

+1

  • replace and remove the obsolete header (technical)
  • matrix tests and unit tests passed

@qliphy
Copy link
Contributor

qliphy commented May 25, 2021

+1

@qliphy
Copy link
Contributor

qliphy commented May 25, 2021

merge

@cmsbuild cmsbuild merged commit dfd0d1d into cms-sw:master May 25, 2021
@perrotta perrotta deleted the includeTheCorrectHeader branch May 25, 2021 09:33
@santocch
Copy link

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will be automatically merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants